home *** CD-ROM | disk | FTP | other *** search
- <!--
- * This file was automatically generated by Microsoft Internet Explorer 4.0
- * using the file %THISDIRPATH%\folder.htt (if customized) or
- * %TEMPLATEDIR%\folder.htt (if not customized).
- -->
-
- <meta name="Version" content="2313"> <meta name="Microsoft Theme" content="none"> <meta name="Language Code" content="1053">
- <html>
- <style>
- body {margin: 0; font: menu; color: black}
- #FileList {position: absolute; left: 0px; top: 0; width: 100%; height: 100%}
- #Media {margin-left: 15px}
- #Panel {position: absolute; width: 200px; height: 100%; overflow: auto}
- #PieChart {width: 100px; height: 50px; margin-top: 10px}
- #Thumbnail {width: 160px; height: 160px; margin-top: 0px}
- #Status {margin-left: 15px}
- #Brand {position: absolute; left: 30%; width: 70%; height: 100%; overflow: auto}
- p {margin-left: 15px; margin-top: 15px; margin-right: 15px}
- p.Title {margin-top: 8px; font: 13pt/13pt menu; font-weight: bold}
- p.LogoLine {margin-left: 0; margin-top: -5px; margin-right: 0; margin-bottom: 20px}
- p.Warning {font-weight: bold; color: red}
- p.Links {margin-top: 5px}
- a.Command {font-weight: bold}
- div.Release {width: 160px; text-align: right; background: buttonface; padding: 0px, 8px, 4px, 8px}
- </style>
-
- <head>
- <!-- allow references to any resources you might add to the folder -->
- <!-- (a "webbot" is a special wrapper for FrontPage compatibility) -->
- <!-- webbot bot="HTMLMarkup" id="MyFavoriteID" tag="base" startspan -->
- <!-- base href="%THISDIRPATH%\" -->
- <!-- webbot bot="HTMLMarkup" endspan -->
-
- <script language="JavaScript">
- var L_Prompt_Text = "Markera ett objekt om du vill visa dess beskrivning.";
- var L_Multiple_Text = " items selected.";
- var L_Size_Text = "Size: ";
- var L_FileSize_Text = "Total File Size: ";
- var L_Delimiter_Text = ",";
- var L_Bytes_Text = " bytes";
- var L_Attributes_Text = "Attributes";
- var L_Codes_Text = "RHSaCE"; // suppress the Archive flag
- var L_ReadOnly_Text = "Read-only";
- var L_Hidden_Text = "Hidden";
- var L_System_Text = "System";
- var L_Archive_Text = "Archive";
- var L_Compressed_Text = "Compressed";
- var L_Encrypted_Text = "Encrypted";
- var L_NoAttributes_Text = "(normal)";
- var L_Properties_Text = "P&roperties";
- var timer = 0;
- var wantMedia = false; // cool, but may hinder media file manipulation
-
- function FixSize() {
- // this function handles fixed panel sizing and collapsing when the window resizes
- if (document.body.clientWidth < 400) {
- document.all.Panel.style.visibility = "hidden";
- document.all.FileList.style.pixelLeft = 0;
- } else {
- document.all.Panel.style.visibility = "visible";
- document.all.FileList.style.pixelLeft = document.all.Panel.style.pixelWidth;
- }
- document.all.FileList.style.pixelWidth = document.body.clientWidth - document.all.FileList.style.pixelLeft;
- }
-
- function FormatNumber(n) {
- var t = "";
- var i, j = 0;
- for (i = n.length - 1; i >= 0; i--) {
- t = n.charAt(i) + t;
- if (i && ((++j % 3) == 0))
- t = L_Delimiter_Text + t;
- }
- return t;
- }
-
- function Properties() {
- FileList.SelectedItems().Item(0).InvokeVerb(L_Properties_Text);
- }
-
- function Init() {
- // call our FixSize() function whenever the window gets resized
- window.onresize = FixSize;
- FixSize();
- Info.innerHTML = L_Prompt_Text;
- }
- </script>
-
- <script language="JavaScript" for="FileList" event="SelectionChanged">
- // this script updates the left info panel when you select icons
- var fldr = FileList.Folder;
- var items;
- var name;
- var data;
- var text;
- var title;
- var size = 0;
- var i;
-
- // cancel any pending status message
- if (timer) {
- window.clearTimeout(timer);
- timer = 0;
- }
-
- // erase any visible thumbnail since the selection changed
- document.all.Thumbnail.style.display = "none";
- document.all.Status.style.display = "none";
-
- // stop & destroy any media player
- if (wantMedia)
- document.all.Media.innerHTML = "";
-
- data = FileList.SelectedItems().Count;
- if (data == 0) {
- // nothing selected?
- Info.innerHTML = L_Prompt_Text;
- return;
- }
- else if (data > 1) {
- // more than one item selected?
- text = data + L_Multiple_Text + "<br>";
- if (data <= 100) {
- for (i = 0; i < data; i++)
- size += FileList.SelectedItems().Item(i).Size;
- if (size)
- text += "<br>" + L_FileSize_Text + FormatNumber(size.toString()) + L_Bytes_Text + "<br>";
- if (data <= 16)
- for (i = 0; i < data; i++)
- text += "<br>" + FileList.SelectedItems().Item(i).Name;
- }
- Info.innerHTML = text;
- return;
- }
-
- // name
- text = "<b>" +FileList.SelectedItems().Item(0).Name + "</b>";
-
- // replace Info with the new text
- Info.innerHTML = text;
-
- if (wantMedia && size) {
- // show media preview or thumbnail based on file extension
- ext = name.substring(name.lastIndexOf(".") + 1, name.length);
- ext = ext.toLowerCase();
- if (ext == 'avi' || ext == 'mov' || ext == 'qt' || ext == 'mpe' || ext == 'mpeg' || ext == 'mpg') {
- // show a movie player
- document.all.Media.innerHTML = '<object ID="Player" style="width: 160px; height: 148px" classid=clsid:05589FA1-C356-11CE-BF01-00AA0055595A><param name="FileName" value="' + items.Path + '"><param name=ShowDisplay value=0><param name=BorderStyle value=0></object>';
- } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext == 'wav') {
- // show a sound player
- document.all.Media.innerHTML = '<object ID="Player" style="width: 160px; height: 28px" classid=clsid:05589FA1-C356-11CE-BF01-00AA0055595A><param name="FileName" value="' + items.Path + '"><param name=ShowDisplay value=0></center></object>'
- }
- }
-
- // try to generate a new thumbnail asynchronously, and delay the status message one second
- if (size && (size < 10000000) && Thumbnail.displayFile(items.Path))
- timer = window.setTimeout('document.all.Status.style.display = ""', 1000);
- </script>
-
- <script language="JavaScript" for="Thumbnail" event="OnThumbnailReady">
- // when a valid thumbnail has been generated, display it
- window.clearTimeout(timer);
- timer = 0;
- document.all.Status.style.display = "none";
- if (document.all.Thumbnail.haveThumbnail() && document.all.Media.innerHTML == "")
- document.all.Thumbnail.style.display = "";
- </script>
- </head>
-
- <body scroll=no onload="Init()">
- <!-- start left info panel -->
- <div id=Panel style="background: white URL(file://%TEMPLATEDIR%\wvleft.bmp) no-repeat">
- <p>
- <object classid="clsid:E5DF9D10-3B52-11D1-83E8-00A0C90DC849" width=32 height=32>
- <param name="scale" value=100>
- </object>
-
- <p class=Title>
- <!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
- %THISDIRNAME%
- <!--webbot bot="HTMLMarkup" endspan -->
-
- <p class=LogoLine>
- <img src="%TEMPLATEDIR%\wvline.gif">
-
- <p>
- <span id=Info>
- </span>
-
- <!-- this is the thumbnail viewer control -->
- <object id=Thumbnail classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92" style="display: none">
- </object>
-
- <!-- this is the status message that pops up during thumbnail generation -->
- <div id=Status style="display: none">
- Generating preview...
- </div>
-
- <p>
- <!-- this contains any ActiveMovie control created later -->
- <div id=Media>
- </div>
-
- </div>
- <!-- end left info panel -->
-
- <!-- this is the standard file list control -->
- <!-- webbot bot="HTMLMarkup" startspan -->
- <object id=FileList border=0 tabindex=1 classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2">
- </object>
- <!-- webbot bot="HTMLMarkup" endspan -->
-
- </body>
- </html>
-